package com.cn.chaomeng.vo.table;

import com.cn.chaomeng.model.Foodtype;

/**
 * @author LYJ
 *         Created by Administrator on 2018/3/1 0001.
 */
public class FoodTypeTable {

    public static FoodTypeTable create(Foodtype foodtype, Integer size){
        FoodTypeTable foodTypeTable = new FoodTypeTable();
        foodTypeTable.setTypeid(foodtype.getTypeid());
        foodTypeTable.setTypename(foodtype.getTypename());
        foodTypeTable.setPicurl(foodtype.getPicurl());
        foodTypeTable.setCreateTime(foodtype.getCreateTime());
        foodTypeTable.setSize(size);
        return foodTypeTable;
    }

    private Integer typeid;

    private String typename;

    private String picurl;

    private String createTime;

    private Integer size;

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getPicurl() {
        return picurl;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
